package com.yin.myproject.redis;

import redis.clients.jedis.Client;

/**
 * @author Eason
 * @create 2018-05-15 11:44
 **/
public class Demo {
    public static void main(String[] args) {
        Client client = new Client("192.168.212.104",2181);
        client.connect();
        boolean connected = client.isConnected();
        System.out.println(connected);
    }
}
